import { isValidArr } from "@/utils";

export default function GameResult ({title, content, actions}) {
  return (
    <>
      <div className="inner">
        <div className="title">{title}</div>
        <div className="content">
          {content}
        </div>
        <div className="operation">
          {isValidArr(actions) && actions}
        </div>
      </div>
    </>
  )
}